-- GENERATED SPELL FOR [Fjord Crow] --


function spell0_23945(pUnit, Event) --@Eye Peck,n/a--
pUnit:FullCastSpellOnTarget(49865,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23945', 5299, 1)
end

function Sorts_23945(pUnit, Event)
local choix_sorts_23945 = math.random(0, 0)
if choix_sorts_23945 == 0 then
pUnit:RegisterEvent('spell0_23945', 1, 1)
end
end

function mob23945_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23945', math.random(1500, 3000), 1)
end

function mob23945_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23945_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23945_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23945, 1, 'mob23945_Action')
RegisterUnitEvent(23945, 2, 'mob23945_Leave')
RegisterUnitEvent(23945, 3, 'mob23945_Kill')
RegisterUnitEvent(23945, 4, 'mob23945_Die')
